<%--
    Document   : buscar
    Created on : 26/09/2009, 08:52:31 PM
    Author     : Gilmar Montoya
--%>

<%@page contentType="text/html" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>
<%@ taglib uri="http://cip.util/tagCIP" prefix="u" %>
<%@taglib uri="http://richfaces.org/rich"  prefix="rich"%>
<%@taglib uri="http://richfaces.org/a4j"  prefix="a4j"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<script>
    function clickLink(linkId)
    {
        var fireOnThis = document.getElementById(linkId)
        if (document.createEvent)
        {
            var evObj = document.createEvent('MouseEvents')
            evObj.initEvent( 'click', true, false )
            fireOnThis.dispatchEvent(evObj)
        }
        else if (document.createEventObject)
        {
            fireOnThis.fireEvent('onclick')
        }
    }
</script>
<body onload="clickLink('hiddenLink');" >
    <f:view>
        <t:div>
            <h:form>
                <t:commandLink id="hiddenLink" forceId="true" style="display:none; visibility: hidden;"
                               action="#{exoneracionController.nuevo}" >
                </t:commandLink>
            </h:form>
        </t:div>
    </f:view>
</body>